package xyz.luckyli.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import xyz.luckyli.springcloud.pojo.Dept;

import java.util.List;

/**
 * ClassName:DeptDao
 * Package:xyz.luckyli.springcloud.dao
 * Description:
 *
 * @Date:2020/9/29 14:23
 * @Author:857251389@qq.com
 */
@Mapper
@Repository
public interface DeptDao {
    boolean addDept(Dept dept);

    Dept queryById(Long id);

    List<Dept> queryAll();
}
